package com.btpn.custody.dao;

import java.io.Serializable;
import java.util.List;

import com.btpn.custody.entity.Address;

public interface IAddress {
	/* =================================================== B A S I C ==================================================== */
	Address get(Long id);
	
	List<Address> findAll();
	
	Integer getCount();
	
	Serializable create(Address address);
	
	void createOrUpdate(Address address);
	
	Address update(Address address);
	
	void delete(Long id);
	
	/* =================================================== C U S T O M ================================================== */

	Address getByMD_AddressType(String mdSid, String addressType);
	
	// Checklist.showDataDetail()
	List<Address> findByMD(String mdSid);
}
